Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: [M3-7251] Interface-level VPC IPv4 error in Add/Edit Linode Config dialog when VPC IPv4 checkbox is unchecked but VPC IPv4 not provided #9779

Conversation

dwiley-akamai
Copy link
Contributor

@dwiley-akamai dwiley-akamai commented Oct 10, 2023

Description 📝

In the Add/Edit Linode Config drawer, for VPC interfaces, we want to mimic behavior from the Linode Create flow where if a user has unchecked the VPC IPv4 autoassign checkbox and does not provide a VPC IPv4, a field error is shown when form submission is attempted.

We have three interface slots in this dialog, so some mapping/tracking is required to present the Must be a valid IPv4 address, e.g. 192.168.2.0 error.

To-Do:

  • Display error only after submission has been attempted
  • Ensure errors don't persist between dialog openings/closings

Changes 🔄

Coming soon

Preview 📷

Coming soon

Before After
📷 📷

How to test 🧪

Prerequisites

(How to setup test environment)

  • ...
  • ...

Reproduction steps

(How to reproduce the issue, if applicable)

  • ...
  • ...

Verification steps

(How to verify changes)

  • ...
  • ...

As an Author I have considered 🤔

Check all that apply

  • 👀 Doing a self review
  • ❔ Our contribution guidelines
  • 🤏 Splitting feature into small PRs
  • ➕ Adding a changeset
  • 🧪 Providing/Improving test coverage
  • 🔐 Removing all sensitive information from the code and PR description
  • 🚩 Using a feature flag to protect the release
  • 👣 Providing comprehensive reproduction steps
  • 📑 Providing or updating our documentation
  • 🕛 Scheduling a pair reviewing session
  • 📱 Providing mobile support
  • ♿ Providing accessibility support

hana-akamai and others added 29 commits September 21, 2023 15:08
…rface dropdown in Add/Edit Config dialog; casing adjustments for some variable names
…d weird spacing in Add/Edit Linode Config dialog; make noWrap on VPC IPv4 checkbox text conditional so tooltip isn't obscured
…n the VPC IPv4 Autoassign checkbox is unchecked
@dwiley-akamai dwiley-akamai added the VPC Relating to VPC project label Oct 10, 2023
@dwiley-akamai dwiley-akamai self-assigned this Oct 10, 2023
@dwiley-akamai
Copy link
Contributor Author

Closing this for now but will circle back to revisit this ticket at a later time

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
VPC Relating to VPC project
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants